package cn.iocoder.yudao.module.digital.job.cardchannel;//package cn.iocoder.yudao.module.digital.job.cardkeymanager;

import cn.iocoder.yudao.framework.quartz.core.handler.JobHandler;
import cn.iocoder.yudao.module.digital.service.cardchannel.ICardSecretManager;
import org.quartz.DisallowConcurrentExecution;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@DisallowConcurrentExecution
@Component
public class CardSecretInQueueJob implements JobHandler {
    @Resource
    private ICardSecretManager cardSecretManager;

    @Override
    public String execute(String param) throws Exception {
        cardSecretManager.pollUnProcessingInQueue();
        return "";
    }

}
